package com.roncoo.education.course.service.dao;

import com.roncoo.education.course.service.dao.impl.mapper.entity.UserCourseAppointment;

import java.util.List;

public interface UserCourseAppointmentDao {

    /**
     * 根据课程id获取预约用户
     *
     * @param courseId
     * @return
     */
    List<UserCourseAppointment> getByCourseId(Long courseId);

    int updateById(UserCourseAppointment userCourseAppointment);

    int save(UserCourseAppointment userCourseAppointment);
}
